package com.foreknow.entity;

public class Reply {
    private Integer id;
    private Integer blogId;
    private Integer replyId;
    private Integer authorId;// 回复人ID
    private Integer answererId;// 回复所回复的人的id
    private String content;// 回复内容
    private String uploadTime;// 时间
    private String authorName;
    private String answererName;

    public Reply() {
        super();
    }

    public Reply(Integer id, Integer blogId, Integer replyId, Integer authorId, Integer answererId, String content,
                 String uploadTime) {
        super();
        this.id = id;
        this.blogId = blogId;
        this.replyId = replyId;
        this.authorId = authorId;
        this.answererId = answererId;
        this.content = content;
        this.uploadTime = uploadTime;
    }

    public Reply(Integer blogId, Integer replyId, Integer authorId, Integer answererId, String content,
                 String uploadTime) {
        super();
        this.blogId = blogId;
        this.replyId = replyId;
        this.authorId = authorId;
        this.answererId = answererId;
        this.content = content;
        this.uploadTime = uploadTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBlogId() {
        return blogId;
    }

    public void setBlogId(Integer blogId) {
        this.blogId = blogId;
    }

    public Integer getReplyId() {
        return replyId;
    }

    public void setReplyId(Integer replyId) {
        this.replyId = replyId;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public Integer getAnswererId() {
        return answererId;
    }

    public void setAnswererId(Integer answererId) {
        this.answererId = answererId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getAnswererName() {
        return answererName;
    }

    public void setAnswererName(String answererName) {
        this.answererName = answererName;
    }

    @Override
    public String toString() {
        return "Reply [id=" + id + ", blogId=" + blogId + ", replyId=" + replyId + ", authorId=" + authorId
                + ", answererId=" + answererId + ", content=" + content + ", uploadTime=" + uploadTime + "]";
    }

}
